﻿using System.ComponentModel;
using System.Windows.Media;

namespace System.Windows.Controls
{
    public class ScaleTick : INotifyPropertyChanged
    {
        private Brush _stroke;
        private int _strokeThickness;
        
        public Point First { get; set; }
        public Point Second { get; set; }

        public Brush Stroke
        {
            get { return _stroke; }
            set
            {
                _stroke = value;
                PropertyChanged(this, new PropertyChangedEventArgs("Stroke"));
            }
        }

        public int StrokeThickness
        {
            get { return _strokeThickness; }
            set
            {
                _strokeThickness = value;
                PropertyChanged(this, new PropertyChangedEventArgs("StrokeThickness"));
            }
        }

        #region INotifyPropertyChanged Members

        public event PropertyChangedEventHandler PropertyChanged = (o, e) => { };

        #endregion
    }
}